import cv2 as cv
img = cv.imread('../../data/GiteeOrGithub.jpeg')
if img is None:
   print("[ERROR] fail to read Image!!!")
   exit(0)
cv.imshow("pic", img)
cv.waitKey(0),
print('图像形状[Height, Width, Channels(Depth)]:',img.shape)
print('图像所有的像素总个数:',img.size,'Height*Weight*Channels',img.shape[0]*img.shape[1]*img.shape[2])
print('图像像素值的类型:',img.dtype )
cv.destroyAllWindows()